<template>
  <div class="home">
    <Navbar msg="全部" class="header" />
    <router-view/>
  </div>
</template>

<script>
// @ is an alias to /src
import Navbar from '@/components/Navbar.vue'

export default {
  name: 'Home',
  components: {
    Navbar
  }
}
</script>

<style lang="less">
.home{
  width: 100%;
  height: auto;
  .header{
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, .25);
  }
}
</style>